# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

DESCRIPTION="Archive of packetstorm exploits"
HOMEPAGE="http://packetstormsecurity.net"
IUSE=""

#Use yearly archivers
SRC_URI="http://dl.packetstormsecurity.net/1412-exploits/2014-exploits.tgz"

LICENSE="HPND"
SLOT="2014"
KEYWORDS="amd64 x86 arm"

DEPEND=""
RDEPEND="!app-exploits/packetstormexploits:0"

S="${WORKDIR}"

QA_PREBUILT="/usr/share/exploits/packetstormexploits/0001-exploits/bnc246
		/usr/share/exploits/packetstormexploits/0212-exploits/kadmin
		/usr/share/exploits/packetstormexploits/9902-exploits/SDI-lsof
		/usr/share/exploits/packetstormexploits/0204-exploits/7350fun"

src_install() {
	insinto /usr/share/exploits/${PN}/
	doins -r *
}
